<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 内联定义 -->
    <div style="background:#00ffff;
                width: 300px;
                height: 300px;
                position: absolute;
                top: 100px;
                left: 100px;
                border-style:solid ;
                border-color:red ;
                border-width:2px ;"></div>
</body>

</html>